package vo;

import java.io.Serializable;

@SuppressWarnings("serial")
public class UnitSelectedVO implements Serializable {
	
	private UnitVO unit;
	
	public UnitSelectedVO() {
		
	}
	
	public UnitSelectedVO(String unitId) {
		this.unit = new UnitVO();
		this.unit.setUnit_id(unitId);
	}
	
	public UnitSelectedVO(UnitVO unit) {
		this.unit = unit;
	}

	public String getUnitId() {
		return this.unit.getUnit_id();
	}

	public void setUnitId(String unitId) {
		if(unit == null)
			unit = new UnitVO();
		
		this.unit.setUnit_id(unitId);
	}

	public UnitVO getUnit() {
		return unit;
	}

	public void setUnit(UnitVO unit) {
		this.unit = unit;
	}
	
}
